package cn.com.codes.object;

import cn.com.codes.framework.transmission.JsonInterface;


public class ApiGlobalAuth implements JsonInterface {

	/**  
	* 字段:      字段名称
	* @Fields serialVersionUID : TODO 
	*/
	private static final long serialVersionUID = 1L;
	private String authId;
	private String taskId;
	private Integer authType;
	private String url;
	private String params;
	private String cookie;
	private Integer defaultVal;
	private String  tokenParamterName;
	
	public ApiGlobalAuth() {
		
	}

	/**  
	* @return authId 
	*/
	public String getAuthId() {
		return authId;
	}

	/**  
	* @param authId authId 
	*/
	public void setAuthId(String authId) {
		this.authId = authId;
	}

	/**  
	* @return taskId 
	*/
	public String getTaskId() {
		return taskId;
	}

	/**  
	* @param taskId taskId 
	*/
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	/**  
	* @return authType 
	*/
	public Integer getAuthType() {
		return authType;
	}

	/**  
	* @param authType authType 
	*/
	public void setAuthType(Integer authType) {
		this.authType = authType;
	}

	/**  
	* @return url 
	*/
	public String getUrl() {
		return url;
	}

	/**  
	* @param url url 
	*/
	public void setUrl(String url) {
		this.url = url;
	}

	/**  
	* @return params 
	*/
	public String getParams() {
		return params;
	}

	/**  
	* @param params params 
	*/
	public void setParams(String params) {
		this.params = params;
	}

	/**  
	* @return cookie 
	*/
	public String getCookie() {
		return cookie;
	}

	/**  
	* @param cookie cookie 
	*/
	public void setCookie(String cookie) {
		this.cookie = cookie;
	}

	public Integer getDefaultVal() {
		return defaultVal;
	}

	public void setDefaultVal(Integer defaultVal) {
		this.defaultVal = defaultVal;
	}
	
	@Override
	public String toStrUpdateInit() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String toStrList() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String toStrUpdateRest() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void toString(StringBuffer bf) {
		// TODO Auto-generated method stub
		
	}

	public String getTokenParamterName() {
		return tokenParamterName;
	}

	public void setTokenParamterName(String tokenParamterName) {
		this.tokenParamterName = tokenParamterName;
	}
	
}
